<div class="buy-order-info-class">
    @if ($model->is_shop_goods == 0 || $model->is_shop_goods == 2 )
    @foreach ($value as $v)
    <div>
        <span class="badge badge-primary">{{config('user.identity')[$v]}}</span>
    </div>
    @endforeach
    @else
        <div>
            <span class="badge badge-primary">不限身份</span>
        </div>
    @endif

</div>

<style>
    .buy-order-info-class {
        display: flex;
        align-content: center;
        flex-direction: column;
    }
</style>

<script init=".my-class">
</script>
